package com.cssy.xxkj.logic.dao;

import java.util.List;

import org.springframework.dao.DataAccessException;

import com.cssy.xxkj.logic.entity.LogicMaterialBackDO;

public interface LogicMaterialBackDAO extends LogicBizDAO<LogicMaterialBackDO> {
	
	/**
     * 插入数据
     * @param logicMaterialBackDO
     * @return 插入数据的主键
     */
    public String insertLogicMaterialBackDO(LogicMaterialBackDO logicMaterialBackDO) throws DataAccessException;

    /**
     * 统计记录数
     * @param logicMaterialBackDO
     * @return 查出的记录数
     */
    public Integer countLogicMaterialBackDOByExample(LogicMaterialBackDO logicMaterialBackDO) throws DataAccessException;

    /**
     * 更新记录
     * @param logicMaterialBackDO
     * @return 受影响的行数
     */
    public Integer updateLogicMaterialBackDO(LogicMaterialBackDO logicMaterialBackDO) throws DataAccessException;

    /**
     * 获取对象列表
     * @param logicMaterialBackDO
     * @return 对象列表
     */
    public List<LogicMaterialBackDO> findListByExample(LogicMaterialBackDO logicMaterialBackDO) throws DataAccessException;

    /**
     * 根据主键获取logicMaterialBackDO
     * @param id
     * @return logicMaterialBackDO
     */
    public LogicMaterialBackDO findLogicMaterialBackDOByPrimaryKey(String id) throws DataAccessException;

    /**
     * 删除记录
     * @param id
     * @return 受影响的行数
     */
    public Integer deleteLogicMaterialBackDOByPrimaryKey(String id) throws DataAccessException;

}
